package com.itheima.config;  
 2  
 3  
 4 import org.springframework.context.annotation.ComponentScan;  
 5 import org.springframework.context.annotation.Configuration;  
 6 import org.springframework.context.annotation.Import;  
 7  
 8 @Configuration  
 9 @Import({MyBatisConfig.class, JdbcConfig.class})  
 10 @ComponentScan(value = "com.itheima.service")  
 11 public class SpringConfig {  
 12 } 